package com.martin.lib_base.bean

import com.martin.lib_base.interfaces.ITypeBean

class PreviewBean(
    // 文件地址
    val source: Any,
    // 预览类型
    override val itemType: Int = TYPE_PREVIEW_IMAGE
) : ITypeBean {

    companion object {
        // 预览类型 - 图片
        const val TYPE_PREVIEW_IMAGE = 0

        // 预览类型 - 视频
        const val TYPE_PREVIEW_VIDEO = 1

        // 预览类型 - 音频
        const val TYPE_PREVIEW_AUDIO = 2
    }

}